package com.yi.wood.web.ctrl.dto;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author moyi
 * create date 2019/4/5 17:16
 */
@Data
public class ClassificationParam implements Serializable {

    private Long id;

    @NotBlank
    private String title;

    @Min(0)@Max(99)
    private Integer level;

    @Min(0)@Max(99)
    private Integer sort;

    private Long parentId;

    private String path;

    private String icon;

    private Integer type;
}
